package com.ly.system.system.bean.vo.lowapp;

import lombok.Data;
import com.ly.system.system.bean.entity.SysDept;

import java.util.List;

/**
 * @author taoYan
 * @Date 2022/12/30 16:25
 **/
@Data
public class UpdateDepartInfoVO {

    private String departId;

    private String orgName;

    private String parentId;

    private Boolean hasSub;
    /**
     * 部门负责人ID
     */
    private List<String> chargePersonList;

    public UpdateDepartInfoVO() {
    }

    public UpdateDepartInfoVO(SysDept depart) {
        this.departId = depart.getId();
        this.orgName = depart.getOrgName();
        this.parentId = depart.getParentId();
        this.hasSub = false;
    }
}
